﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.isFloat = "true";
}
<script type="text/javascript" language="javascript">
    $(document).ready(function () {
        $("#Categorytree div.treeheader")[0].style.cursor = "pointer";
        $("#page")[0].style.marginTop = "0px";
        $("#Categorytree").hover(function () {
            $("#Categorytree ul#Product").show();
            $("#Categorytree ul#Product")[0].style.position = "absolute";
        }
        , function () {
            $("#Categorytree ul#Product").hide();
        });
    });
</script>
<style type="text/css">
    .contentbox
    {
        float: left;
        width: 985px;
        margin-left: 5px;
        display: inline;
        margin-bottom: 10px;
    }
    .body
    {
        float: right;
        width: 620px;
        border: 2px solid #fadbae;
        padding: 20px 60px 20px 60px;
        display: inline;
    }
    h2
    {
        float: left;
        font-size: 12px;
        margin-bottom: 5px;
        margin-left: 7px;
        color: #666666;
        display: inline;
        font-weight: normal;
    }
    h2 a
    {
        color: #666666;
        text-decoration: underline;
        font-weight: normal;
    }
    #header
    {
        margin-bottom: 3px !important;
    }
    p
    {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    h3.title
    {
        border-bottom: 1px solid #DEDEDE;
        display: block;
        font-family: '宋体';
        font-size: 16px;
        height: 35px;
        width: 100%;
        line-height: 30px;
    }
    h3.title span
    {
        background-image: url("../content/img/content.gif");
        background-position: 0 -49px;
        background-repeat: no-repeat;
        float: left;
        height: 30px;
        margin-left: 7px;
        width: 35px;
        display: inline;
    }
    .contenttext
    {
        margin-left: 15px;
        line-height: 25px;
    }
    dl, dd, dt, img
    {
        margin: 0px;
        padding: 0px;
    }
    .columnleft dl, .columnleft dd, .btnarea
    {
        background-image: url("../content/img/user_bg_x.gif");
        background-repeat: repeat-x;
    }
    .columnleft dl
    {
        background-position: 0 -268px;
        border-left: 1px solid #CCCCCC;
    }
    .columnleft dl dt
    {
        background-position: -180px 7px;
        color: #333333;
        font: bold 12px/32px Arial,Helvetica,sans-serif;
        height: 32px;
        padding-left: 28px;
        border-bottom: 1px solid #CC0000;
    }
    .columnleft
    {
        background: url("../content/img/user_bg_y.gif") repeat-y scroll right center transparent;
        float: left;
        width: 210px;
        padding-right: 4px !important;
    }
    .columnleft dl dd
    {
        background-position: 0 -71px;
        color: #333333;
        font: 10px/30px "宋体";
        margin: 0 8px;
    }
    .columnleft img
    {
        display: block;
        width: 212px;
    }
    .columnleft a
    {
        color: #333333;
        font-size: 12px;
        margin-left: 6px;
    }
    .columnleft .current
    {
        background-color: #FFEFD9;
        color: #990000;
        margin: 0;
        padding: 0 8px;
        font-weight: bold;
    }
    .columnleft .current a
    {
        color: #990000;
        vertical-align: -1px;
    }
    .columnleft a:hover
    {
        color: #990000;
        text-decoration: none;
    }
</style>
<div id="header" style="position: relative; width: 100%; float: left; margin-bottom: 8px;">
    <div style="width: 225px; float: left">
        <a href="@Url.Action("index", "home", null)">
            <img src="@Url.Content("~/Content/img/logo.gif")" /></a>
        @Html.Partial("_ProductMENU")
    </div>
    <div class="right_content">
        @Html.Partial("_SeachHeader", "1")
    </div>
</div>
<h2>
    您现在的位置： @Html.ActionLink("首页", "Index", "Home") &raquo; @ViewBag.Title.Substring(ViewBag.Title.IndexOf("-")+1)</h2>
<div class="contentbox">
    <div class="columnleft">
        @{
            string leftMenuName = ViewBag.LeftMenuName != null ? ViewBag.LeftMenuName : "_LeftForContentPage";
            @Html.Partial(leftMenuName)
        }
    </div>
    <div class="body">
        @RenderBody()
    </div>
</div>
